#ifndef MEDICALADVICE_H
#define MEDICALADVICE_H

#include <QString>
#include <QDate>

class MedicalAdvice {
private:
    int adviceID;
    int patientID;
    int doctorID;
    QString advice;
    QDate date;

public:
    MedicalAdvice() = default;
    MedicalAdvice(int id, int pID, int dID, const QString& adv, const QDate& d);
    int getAdviceID() const;
    void setAdviceID(int id);
    int getPatientID() const;
    void setPatientID(int id);
    int getDoctorID() const;
    void setDoctorID(int id);
    QString getAdvice() const;
    void setAdvice(const QString& adv);
    QDate getDate() const;
    void setDate(const QDate& d);
};

#endif // MEDICALADVICE_H
